<div class="modal-header">
  <div class="modal-title">{{dictValue.id ? '编辑' : '添加'}}</div>
</div>
<form (ngSubmit)="save()" nz-form>
  <nz-form-item>
    <nz-form-label nzXs="24" nzSm="7" nzFor="code" nzRequired>编码</nz-form-label>
    <nz-form-control nzXs="24" nzSm="12" nzMd="10">
      <nz-input-group [nzAddOnBefore]="code">
        <input nz-input [(ngModel)]="dictValue.code" name="code" placeholder="请输入资源编码" id="code">
      </nz-input-group>
    </nz-form-control>
  </nz-form-item>
  <nz-form-item>
      <nz-form-label nzXs="24" nzSm="7" nzFor="labelDefault" nzRequired>默认显示</nz-form-label>
      <nz-form-control nzXs="24" nzSm="12" nzMd="10">
        <input nz-input [(ngModel)]="dictValue.labelDefault" name="labelDefault" placeholder="请输入默认显示" id="labelDefault">
      </nz-form-control>
    </nz-form-item>
  <nz-form-item>
    <nz-form-label nzXs="24" nzSm="7" nzFor="labelEnUs" nzRequired>英文显示</nz-form-label>
    <nz-form-control nzXs="24" nzSm="12" nzMd="10">
      <input nz-input [(ngModel)]="dictValue.labelEnUs" name="labelEnUs" placeholder="请输入英文显示" id="labelEnUs">
    </nz-form-control>
  </nz-form-item>
  <nz-form-item>
    <nz-form-label nzXs="24" nzSm="7" nzFor="labelZhCh" nzRequired>中文显示</nz-form-label>
    <nz-form-control nzXs="24" nzSm="12" nzMd="10">
      <input nz-input [(ngModel)]="dictValue.labelZhCh" name="labelZhCh" placeholder="请输入中文显示" id="labelZhCh">
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-label nzXs="24" nzSm="7" nzFor="orderNum">排序</nz-form-label>
    <nz-form-control nzXs="24" nzSm="12" nzMd="10">
      <nz-input-number [(ngModel)]="dictValue.orderNum" [nzMin]="0" [nzStep]="1" name="orderNum" id="orderNum"></nz-input-number>
    </nz-form-control>
  </nz-form-item>

  <div class="modal-footer">
    <button nz-button type="button" (click)="close()">关闭</button>
    <button nz-button [nzLoading]="loading" [nzType]="'primary'">保存</button>
  </div>
</form>



